import Request from 'luch-request'
import { getResultInterceptor } from '@/utils/http/interceptor/getResultInterceptor'
import { envs } from '~/src/env'
const req = new Request({
  baseURL: envs.BASE_URL
})

req.interceptors.response.use(getResultInterceptor)
export { req }
